package com.lam.common.components.dict.model;

import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;

public class DictConvertConfig {
	
	private DictDesc dictDesc;
	private Map<String, String> dictDataMap;
	
	private Method origSetter;
	private Method origGetter;
	private Method targetSetter;
	
	private List<Method> varFieldGetterList;
	
	public DictConvertConfig(DictDesc dictDesc, Map<String, String> dictDataMap) {
		this.dictDesc = dictDesc;
		this.dictDataMap = dictDataMap;
	}
	
	public boolean isTableDictWithCondition() {
		return dictDesc.isTableDictWithCondition();
	}
	
	public boolean isReverse() {
		return dictDesc.isReverse();
	}
	
	public boolean isRemoveOrig() {
		return dictDesc.isRemoveOrig();
	}
	
	public DictDesc dictDesc() {
		return dictDesc;
	}
	public void setDictDesc(DictDesc dictDesc) {
		this.dictDesc = dictDesc;
	}
	public Map<String, String> dictDataMap() {
		return dictDataMap;
	}
	public void setDictDataMap(Map<String, String> dictDataMap) {
		this.dictDataMap = dictDataMap;
	}
	public Method origSetter() {
		return origSetter;
	}
	public void setOrigSetter(Method origSetter) {
		this.origSetter = origSetter;
	}
	public Method origGetter() {
		return origGetter;
	}
	public void setOrigGetter(Method origGetter) {
		this.origGetter = origGetter;
	}
	public Method targetSetter() {
		return targetSetter;
	}
	public void setTargetSetter(Method targetSetter) {
		this.targetSetter = targetSetter;
	}

	public List<Method> getVarFieldGetterList() {
		return varFieldGetterList;
	}

	public void setVarFieldGetterList(List<Method> varFieldGetterList) {
		this.varFieldGetterList = varFieldGetterList;
	}
	
	

}
